package com.cskaoyan.service;

import com.cskaoyan.bean.Goods;
import com.cskaoyan.bo.UpdateGoodsBo;
import com.cskaoyan.vo.CatAndBrandVo;
import com.cskaoyan.vo.GoodsDetailVo;
import com.cskaoyan.vo.GoodsListVo;
import org.springframework.stereotype.Service;

@Service
public interface GoodsService {
    GoodsListVo getGoodsList(Integer page, Integer limit, String sort, String order,String goodsSn,String name);

    int delete(Goods goods);

    CatAndBrandVo getCatAndBrand();

    GoodsDetailVo getDetail(Integer id);

    int update(GoodsDetailVo goodsDetailVo);

    int create(UpdateGoodsBo updateGoodsBo);
}
